package com.cudex.negocio.utils;

import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;

public class FacesUtils {

	public static void setMessage(String msg) {
		FacesMessage doneMessage = null;
		doneMessage = new FacesMessage(msg);
		FacesContext.getCurrentInstance().addMessage(
				FacesMessage.SEVERITY_ERROR.toString(), doneMessage);
	}
	
	
	
	
}
